package com.sc.nft.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * 配置熔炼方式请求
 *
 * @Author：LiGen
 * @Package：com.sc.nft.admin.request
 * @Project：sc_metago
 * @name：AddConfigureTheMeltingModeReq
 * @Date：2024/6/11 15:04
 * @Filename：AddConfigureTheMeltingModeReq
 */
@Data
public class EditConfigureTheMeltingMode {

    @ApiModelProperty("熔炼方式id 编辑时传")
    private Long id;

    @ApiModelProperty("排序")
    private Long sort = 0L;

    @ApiModelProperty("是否开启")
    private Boolean status;

    @ApiModelProperty("奖励列表")
    @NotNull(message = "奖励列表不能为空")
    @Size(min = 1, message = "奖励列表不能为空")
    private List<AddSmeltingRewardsConfRequest> rewardsConfRequestList;

    @ApiModelProperty("藏品配置列表")
    @NotNull(message = "藏品配置列表不能为空")
    @Size(min = 1, message = "藏品配置列表不能为空")
    private List<EditEcologyHatchMethodCollectionConf> ecologyHatchMethodCollectionConfVOList;
    @ApiModelProperty("名称 新增熔炼方式名称配置，默认初始化为主藏品+副藏品")
    @NotBlank(message = "名称不能为空")
    private String methodName;

    @ApiModelProperty("动态奖励发放数量")
    @NotBlank(message = "动态奖励发放数量不能为空")
    private BigDecimal dynamicRewardAmount;

}
